/*body {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*}*/
.justify-content-center {
    display: flex;
    justify-content: center;
}

.justify-content-start {
    display: flex;
    justify-content: flex-start;
}

.justify-content-between {
    display: flex;
    justify-content: space-between;
}

.align-items-center {
    display: flex;
    align-items: center;
}

.align-items-end {
    display: flex;
    align-items: flex-end;
}

.font-30 {
    font-size: 30px;
}

.font-20 {
    font-size: 20px;
}

.title {
    font-size: 30px;
    color: rgb(230, 145, 55);
    padding: 10px;
    /*margin: 10px;*/
    /*border-bottom: 1px solid gray;*/
}

.border-top {
    border-top: 1px solid gray;
    padding: 10px;
}

/*浏览器最小的字体大小就是10px*/
/*如果想让字体更小，要么自己设置字体，要么UI设计图片*/
.font-10 {
    font-size: 10px;
}

.single-over {
    /*多余的隐藏*/
    /*overfly*/
    overflow: hidden;
    /*不换行*/
    white-space: nowrap;
    /*溢出的文本：ellipsis 。。。*/
    text-overflow: ellipsis;
}

/*多行溢出*/
.many-over-two {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.many-over-three {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.font-title {
    font-size: 15px;
    font-weight: bold;
    font-family: 新宋体;
}

.font-content {
    color: gray;
    font-size: 10px;
}

* {
    margin: 0;
}

body > div {
    /*border: 1px solid red;*/
    width: 1000px;
}

.top {
    background-image: url("../img/banner_qtah.jpg");
    height: 500px;
    /*width: 1920px;*/
    background-size: 100% 100%;
    /*height: calc(1000 * 808px / 1920);*/
    color: white;
}

.top > div {
    /*display: flex;*/
    /*justify-content: center;*/
    /*border: 1px solid yellow;*/
}

.top > div > div {
    /*border: 1px solid blueviolet;*/
    width: 900px;
}

/*公司信息*/
/*.top>div:nth-child(1)>div{*/
.company {
    /*display: flex;*/
    /*justify-content: space-between;*/
    /*align-items: center;*/
}

.logo {
    background-image: url("../img/logo_g0yv.jpg");
    background-size: 100% 100%;
    height: 141px;
    width: 204px;
}

.phone-img {
    background-image: url("../img/icon2_03_uc2a.png");
    background-size: 100% 100%;
    height: 30px;
    width: 30px;
}

.company > div:nth-child(2) {
    /*display: flex;*/
    /*align-items: center;*/
}

/*-----------------------------------导航-------------*/
.top > div:nth-child(2) {
    background-color: rgb(230, 145, 55);
    height: 50px;
}

.nav {
    display: flex;
}

.nav > div {
    /*两个参数：上下内边距   左右内边距*/
    padding: 0 20px;
    height: 50px;
    /*    要让字体上下居中  行高*/
    line-height: 50px;
    cursor: pointer;
}

/*鼠标移动到div上面可以变背景颜色 hover*/
.nav > div:hover {
    background-color: white;
    /*字体颜色*/
    color: rgb(230, 145, 55);
}

/*---------------广告----------------*/
.ad {
    height: 300px;
}

/*.ad > div:nth-child(1) > div:nth-child(1) {*/
/*    !*    设置字体大小*!*/
/*    font-size: 30px;*/
/*}*/

/*aa{*/
/*    font-size: 30px;*/
/*    font-weight: bold;*/
/*    font-family: "Arial Black";*/
/*}*/
.ad .font-10 {
    line-height: 20px;
}

/* 后代选择器*/
.ad .font-20 {
    color: rgb(230, 145, 55);
}

/* 逗号，  分组选择器*/
/*.ad .justify-content-start>div:nth-child(1),.ad .justify-content-start>div:nth-child(3){*/
/* 奇偶数 奇数  odd  偶数 even*/
.ad .justify-content-start > div:nth-child(odd) {
    color: white;
    font-size: 15px;
}

/*.ad .justify-content-start>div:nth-child(3){*/
/*    color: white;*/
/*    font-size: 15px;*/
/*}*/
.ad .font-20 > div {
    margin: 5px 0 5px 0;
}

.ad .font-20 > div:nth-child(2) {
    /*margin: 0 0 0 30px;*/
    /*padding: 0 0 0 50px;*/
    /*缩进：em相对于当前字符缩进2个字符*/
    text-indent: 2em;
}

/*--------------中间部分------------*/
.mid {
    /*border: 1px solid red;*/
}

.mid > div {
    /*border: 1px solid blue;*/
    width: 900px;
    padding: 30px 0 30px 0;
}

.mid > div > div {
    border: 1px solid gray;
}

.news {
    width: 480px;
}

.product {
    width: 400px;
}

.news > div:nth-child(2) > div:nth-child(1) {
    width: 200px;
    height: 180px;
}

.news > div:nth-child(2) > div:nth-child(1) > img {
    width: 100%;
    height: 100%;
}

.news-content {
    width: 240px;
    /*border: 1px solid red;*/
}

.news-content > div {
    border-bottom: 1px dashed gray;
    height: 35px;
    padding: 20px 0 5px 0;
}

.product-content > div {
    width: 180px;
}

.product-content > div img {
    width: 180px;
    height: 150px;
}

/*------------------------底部-------------------*/
.foot {
    border-top: 5px solid rgb(230, 145, 55);
}

.foot > div {
    width: 900px;
    /*border: 1px solid red;*/
}

.address > div {
    /*行高  就是让字体上下居中*/
    line-height: 30px;
}

.callus > div {
    margin: 0 10px 0 10px;
}

.callus > div:nth-child(1):hover {
    /*background-image: url("");*/
    content: url("../img/icon_06_7z07.png");
}

.callus > div:nth-child(2):hover {
    /*background-image: url("");*/
    content: url("../img/icon_08_43xx.png");
}

.callus > div:nth-child(3):hover {
    /*background-image: url("");*/
    content: url("../img/icon_10_o5jo.png");
}

.callus > div:nth-child(4):hover {
    /*background-image: url("");*/
    content: url("../img/icon_12_f0on.png");
}